package com.micro.center.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author pan.shun
 * @since 2022/3/1 15:19
 */
@Builder
@ApiModel(value = "用户表")
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUserEntity extends CommonEntity {

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "用户状态")
    private Integer status;

    @TableField(exist = false)
    private String recordCurrentUser;
}